package com.xindaoapp.happypet.bean;

public class Brand {
	public Brand() {
		super();
	}
	public Brand(String brand_id, String brand_logo, String brand_name) {
		super();
		this.brand_id = brand_id;
		this.brand_logo = brand_logo;
		this.brand_name = brand_name;
	}
	public String brand_id;
	public String brand_logo;
	public String brand_name;
	public String getBrand_id() {
		return brand_id;
	}
	public void setBrand_id(String brand_id) {
		this.brand_id = brand_id;
	}
	public String getBrand_logo() {
		return brand_logo;
	}
	public void setBrand_logo(String brand_logo) {
		this.brand_logo = brand_logo;
	}
	public String getBrand_name() {
		return brand_name;
	}
	public void setBrand_name(String brand_name) {
		this.brand_name = brand_name;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((brand_id == null) ? 0 : brand_id.hashCode());
		result = prime * result + ((brand_logo == null) ? 0 : brand_logo.hashCode());
		result = prime * result + ((brand_name == null) ? 0 : brand_name.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		Brand other = (Brand) obj;
		if (brand_id == null) {
			if (other.brand_id != null)
				return false;
		} else if (!brand_id.equals(other.brand_id))
			return false;
		if (brand_logo == null) {
			if (other.brand_logo != null)
				return false;
		} else if (!brand_logo.equals(other.brand_logo))
			return false;
		if (brand_name == null) {
			if (other.brand_name != null)
				return false;
		} else if (!brand_name.equals(other.brand_name))
			return false;
		return true;
	}
}
